//调用接口配置文件
import { request } from 'config/request'
import config from 'config/config'
// 定义接口

//获取区域
export async function getProjectPermission(params) {
    return request({
        url: `${config.aheadPlan}system/login/getProjectPermission?userId=${params.userId}`,
        method: 'GET',
    });
  };
 //获取城市
 export async function findByCity(params) {
    return request({
        url: `${config.aheadPlan}admin/competitorWeekly/competitorWeekly/findByCity`,
        method: 'GET',
        data: params,
    });
  };